/**
 *
 * @author 
 *
 */
class DataManager extends egret.EventDispatcher {
    public constructor() {
        super();
    }

    private static instance: DataManager;
    public static getInstance(): DataManager {
        if(this.instance == null) {
            this.instance = new DataManager();
        }
        return this.instance;
    }
    
    private enemy_arr:Object[];
    private wall_arr:Object[];
    
    public initJsonData():void
    {
        //RES.getResByUrl("Definfos_json",this.DefinfosCompelte,this,RES.ResourceItem.TYPE_JSON);
        //RES.getResByUrl("WallData_json",this.WallDataCompelte,this,RES.ResourceItem.TYPE_JSON);
    }
    
    private DefinfosCompelte(e:any):void
    {
        this.enemy_arr = e;
    }
    
    private WallDataCompelte(e:any)
    {
        this.wall_arr = e;
    }
}
